<#include "../../head.ftl">
<div class="page_title">客户服务管理 &gt; 服务处理</div>
<div class="button_bar">
    <button class="common_button" onclick="help('');">帮助</button>
    <button class="common_button" onclick="back();">返回</button>
    <button class="common_button" onclick="save();">保存</button>
</div>
<form action="${base}/server/save" method="post">
    <input type="hidden" name="id" value="${server.id}">
    <input type="hidden" name="status" value="${server.status}">
    <input type="hidden" name="handleUser" value="${user.id}">
    <table class="query_form_table">
        <tr>
            <th>编号</th>
            <td>${server.id}</td>
            <th>服务类型</th>
            <td>${server.type}</td>
        </tr>
        <tr>
            <th>概要</th>
            <td colspan="3">${server.outline}</td>
        </tr>
        <tr>
            <th>客户</th>
            <td>${server.name}</td>
            <th>状态</th>
            <td>已分配</td>
        </tr>
        <tr>
            <th>服务请求</th>
            <td colspan="3">${server.request}<br>
                　</td>
        </tr>
        <tr>
            <th>创建人</th>
            <td>${server.createUser.name}</td>
            <th>创建时间</th>
            <td>${server.createtime?string("yyyy年MM月dd日 hh时:mm分ss秒")}</td>
        </tr>
    </table>
    <br />
    <table class="query_form_table" id="table3">
        <tr>
            <th>分配给</th>
            <td>${server.appointUser.name}</td>
            <th>分配时间</th>
            <td>${server.appointtime?string("yyyy年MM月dd日 hh时:mm分ss秒")}</td>
        </tr>
    </table>
    <br />
    <table class="query_form_table" id="table1">
        <tr>
            <th>服务处理</th>
            <td colspan="3"><textarea name="handle" rows="6" cols="50"></textarea><span class="red_star">*</span></td>
        </tr>
        <tr>
            <th>处理人</th>
            <td><input type="text" value="${user.name}" readonly size="20" /><span class="red_star">*</span></td>
            <th>处理时间</th>
            <td><input type="text" id="t3" name="handletime" value="" readonly size="20" /><span class="red_star">*</span></td>
        </tr>
    </table>
    <br />
    <table disabled class="query_form_table" id="table2">
        <tr>
            <th>处理结果</th>
            <td><input type="text" name="result" value="" size="20" /><span class="red_star">*</span></td>
            <th>满意度</th>
            <td>
                <select name="satisfaction">
                    <option value="">请选择...</option>
                    <option value="5">☆☆☆☆☆</option>
                    <option value="4">☆☆☆☆</option>
                    <option value="3">☆☆☆</option>
                    <option value="2">☆☆</option>
                    <option value="1">☆</option>
                </select><span class="red_star">*</span></td>
        </tr>
    </table>
    <script>
        setCurTime('t3');
    </script>
</form>
</body>
</html>